package licode.unisop.client.vo;

import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * 授权菜单信息结构定义
 *
 * @author licode
 */
@Data
public class SopMenu {
    private String id;
    private String rootId;
    private String type;
    private String ownerId;
    private String classify;
    private String parentId;

    /**
     * 菜单对应前端实际的文件地址
     */
    private String component;

    /**
     * 路由名称
     */
    private String routeName;

    /**
     * 菜单对应的路由地址
     */
    private String routePath;

    private String name;
    private String code;
    private String icon;
    private Integer level;
    private Integer iconType;
    private Integer menuType;
    private Integer keepAlive;
    private Integer state;

    private Map<String, Object> props;

    private List<SopMenu> children;
}
